Twitter Web Intentでツイートできるボタンを作る
https://developer.twitter.com/en/docs/twitter-for-websites/tweet-button/overview
https://publish.twitter.com/
へ行く
Twitter Buttonsを選択
デフォルトはツイートの埋め込み(
TweetをHTMLに埋め込む
)
set customize options
Query parametersをUIから指定する
ボタンをUpdateし、Copy Code
hrefが twitter.com/share だが、これで機能する
(JavaScriptで書き換えられている?)
例:Copy CodeしたHTMLを
https://github.com/pyconjp/pycamp.landing_page/commit/64556a3279348791546026b1b2f96260c41d3e61
で使った